package hydrap2p.hubmanager;

import java.util.Arrays;
import java.util.List;

import org.apache.thrift.TException;

import hydrap2p.modulemanager.ModuleControl;

public class HubManagerCTL implements ModuleControl.Iface {

	@Override
	public void ping() throws TException {
	}

	@Override
	public List<String> supportedInterfaces() throws TException {
		return Arrays.asList("Service", "ModuleControl");
	}

	@Override
	public void stop() throws TException {
		HubManagerMain.shutdown();
	}

}
